package com.hubu.jwxt.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ruofei
 * @version 1.0
 * @date 2022/12/27 17:21
 */
@Controller
public class PageController {

    @RequestMapping("/index.html")
    public String index(){
        return "index.html";
    }
    @RequestMapping("/course-list.html")
    public String course_list(){
        return "course-list.html";
    }
    @RequestMapping("/student-list.html")
    public String student_list(){
        return "student-list.html";
    }
    @RequestMapping("/home.html")
    public String home() {
        return "home.html";
    }
    @RequestMapping("/")
    public String login() {
        return "login.html";
    }
    @RequestMapping("/login.html")
    public String login2() {
        return "login.html";
    }
}
